<{include file="index/header.html"}> 
<div class="cnav"><a href="javascript:;" class="back">需求详情</a></div>
<style type="text/css">
.oinfo{ width:100%; background:#f8f8f8; float:left; }
.oinfo .address{ width:380px; height:100px; padding:10px; border-right:1px solid #efefef; float:left; } 
.oinfo .address dl{ width:100%; float:left; }
.oinfo .address dl dt{ width:80px; float:left; }
.oinfo .address dl dd{ width:300px; float:left; }

.oinfo .orow{ margin-left:385px; padding:10px; position:absolute; float:left; }
.oinfo .orow dl{ width:100%; float:left; }
.oinfo .orow dl dt{ width:80px; padding:0 0 0 20px; float:left; }
.oinfo .orow dl dd{  float:left; }


.info{ width:100%; padding:10px 0 10px 0; float:left; }
.info .name{ width:100%; padding:10px 0 10px 0; float: left; }
.info .name span{ font-size:16px; float:left; }
.info .name a{ padding:5px 0 0 0; float:right; }

.oprice{ width:100%; padding:15px 0 0 0; float:left; }
.oprice .pr{ float:left; }
.oprice .pr dl{ padding:0 20px 0 0; float:left; }
.oprice .pr dl dt{ float:left; }
.oprice .pr dl dd{ float:left; }
.orow .guige{  color: #000;  padding-left:15px;  }
</style>
<div class="main">
	<div class="oinfo">
		<div class="address">
			<div class="name"></div>
			<div class="con"> 
				<dl>
					<dt>标题：</dt>
					<dd><{$detail.title}>></dd>
				</dl>
				<dl>
					<dt>分类：</dt>
					<dd><{$detail.name}></dd>
				</dl> 
				<dl>
					<dt>发布人：</dt>
					<dd><{$detail.nick}></dd>
				</dl> 
				<dl>
					<dt>发布时间：</dt>
					<dd><{$detail.addtime}></dd>
				</dl> 
			</div>
		</div>
		<div class="orow">
			<dl>
				<dt>规格：</dt>
				<dd><{$detail.goods_guige}></dd>
			</dl> 
			<dl>
				<dt>竞标状态：</dt>
				<dd><{if $detail.tbzt == 0}>投标进行中<{else}>投标已完成<{/if}></dd>
			</dl>
			<dl>
				<dt>竞标人数：</dt>
				<dd><{$detail.tbs}></dd>
			</dl>
			<dl>
				<dt>备注：</dt>
				<dd><{$detail.bz}></dd>
			</dl>
		</div> 
	</div>
	<div class="info">
		<div class="name">
			<span>投标信息</span>
		</div>
		<div class="con">
			<table class="ltable">
				<thead>
					<tr> 
						<th width="160">投标人</th>
						<th width="120">投标报价</th>
						<th width="320">投标优势</th>
						<th width="100">投标状态</th>
						<th></th>
					</tr>
				</thead>
				<tbody>
			<{if $tb}>
				<{foreach item=i from=$tb}>
					<tr>
						<td><{$i.nick}></td>
						<td><{$i.money}></td>
						<td><{$i.mjbz}></td>
						<td><{if $i.iscg == 0}>竞标中<{elseif $i.iscg == 1}>竞标成功<{elseif $i.iscg == 2}>竞标失败<{/if}></td>
						<td></td>
					</tr>
				<{/foreach}>
			<{else}>
				<tr><td colspan="7">还没有人投标！</td></tr>
			<{/if}>
				</tbody> 
			</table> 
		</div>
	</div> 
</div>
<{include file="index/footer.html"}> 
